﻿<FluentSwitch @bind-Value="@open">Show</FluentSwitch>
<FluentMenu @bind-Open="@open">
    <FluentMenuItem>Menu item 1</FluentMenuItem>
    <FluentMenuItem>Menu item 2</FluentMenuItem>
    <FluentDivider />
    <FluentMenuItem>Menu item 3</FluentMenuItem>
</FluentMenu>

@code {
    bool open = false;
}